//
//  ChoosePhotos.h
//  Bee
//
//  Created by 汤文洪 on 2017/5/4.
//  Copyright © 2017年 JR.TWH. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@protocol ChoosePhotosDelegate <NSObject>

@optional

//获取选取的图片
-(void)getImage:(NSMutableArray *)images andAserts:(NSMutableArray *)aserts;
- (void)deleteNetPhoto:(NSInteger )index data:(id )data;

@end


@interface ChoosePhotos : NSObject

/**代理*/
@property (nonatomic,assign)id<ChoosePhotosDelegate>ChoseImgdelegate;

+(ChoosePhotos *)SharedChoseImg;

- (void)showActionSheetInFatherViewController:(UIViewController *)fatherVC delegate:(id<ChoosePhotosDelegate>)aDelegate andMaxCount:(NSInteger )count andInitHeight:(void(^)(CGFloat height))HeightBlock;


/** 图片展示视图*/
@property (nonatomic,strong)UICollectionView *photoCollect;

/** 选中的图片 */
@property (nonatomic,strong)NSMutableArray *selectedPhotos;
/** 选中的相册资源信息 */
@property (nonatomic, strong) NSMutableArray *selectedAssets;

/** 网络图片*/
@property (nonatomic,strong)NSMutableArray *netPhotoArr;

/** 高度回调 */
@property (nonatomic, copy)void(^ChoosePhotoHeightBlock)(CGFloat height);

/** 申请表默认展示图*/
@property (nonatomic,strong)UIImage *form_hold_img;

/** 重新计算高度(带回调) */
-(CGFloat )CaculatorTotalHeight;

@end
